/*
 * @Author: DingNanLin 1981261270@qq.com
 * @Date: 2024-12-02 11:43:35
 * @LastEditors: DingNanLin 1981261270@qq.com
 * @LastEditTime: 2024-12-02 11:46:08
 * @FilePath: \water-soil-conservation-web\src\plugins\elementUi\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import ElementPlus from 'element-plus'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/theme-chalk/index.css'
import './variable.scss'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
export const setupElementPlus = app => {
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
        app.component(key, component)
    }
    app.use(ElementPlus, {
        locale: zhCn
    })
}
